<template>
<div class="">
  123
</div>
</template>

<script>
import $ from 'jquery';
// import data from '../data/testData.json';
// import {track} from '../statistics/mongo';
// import weui from 'weui';
// import naviga from './Naviga.vue';

// console.log(getData);
export default {
  vuex: {
    actions: {

    },
    getters: {

    }
  },
  data() {
    return {
      bookInfo: '',
      userId: ''
    };
  },
  route: {
    data () {
    }
  },
  /**
   * updated
   */
  updated() {
  },
  /**
   * created
   */
  created() {
    // for (var i = 0; i < this.items.sort(() => 0.5 - Math.random()).length; i++) {
    // }
  },
  /**
   * ready
   */
  ready() {
    window.scrollBy(0, -10000);
    // 返回顶部
    $('.goTop').click(() =>
      window.scrollBy(0, -10000)
    );
  },

  methods: {
    clickChoose() {
    },
    clickJoinWechat() {
      // track('点击加入共读群', {'点击加入共读群': '1'});
      window.location.href = 'http://sqzone.xiaouguanjia.com/roomset/yinliuhaibao.aspx?vcSerialNo=201708146354000069&shareid=os1vB0bq-GcESdg0JWZ2wfpYrGiE&t=0.196372408045629&openid=o8VjX0_uVN1ReMP8zqR7W_mMRaBk&app=wx28295e1bce6e9fde&wbaccess_token=lVxI7wzOIK6mrhDSMADVeDxuQyIcIiEQ___OhhGxbHtmL8ov9d3S843FABUeQMqKEbxEMppuJfAwQO7zaK4O5ZC9ccmQD24Rz4wzG9SRuWW28hthSU27MgdFRMcwzuPE&vcAuthorizerAppId=wxeed310db366251fd';
    },
    clickBookDown() {
      // track('点击下载电子书', {'点击下载电子书': '1'});
      window.location.href = 'http://pan.baidu.com/s/1dFaRKMP';
    },
    clickJoinQQ() {
      // track('点击加入QQ群', {'点击加入QQ群': '1'});
      window.location.href = 'https://jq.qq.com/?_wv=1027&k=4Eh1AU0';
    },
    clickPb(pb) {
      // statisics 点击公号统计
      // track('click_Pb', {choosePb: pb});
      window.location.href = pb.bookdown;
    },
    clickBack() {
      // statisics 返回首页统计
      // track('click_goback', {});
      this.$router.push('/');
    }
  },

  components: {
    // naviga
  }
}
</script>

<style lang="scss">
</style>
